package com.iplant.mes.service.po.andon.productData;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 完成情况
 *
 * @author YouWang·Peng
 * 2024-1-3 16:39:56
 */
public class AndonFinishSituation {
    /**
     * 工艺名称
     */
    public String RoutePartName = "";
    /**
     * 计划数
     */
    public float PlanFQTY = 0.0f;
    /**
     * 实际完成数
     */
    public float FinishFQTY = 0.0f;
    /**
     * 生产完成率
     */
    public float FinishRate = 0.0f;

    public AndonFinishSituation() {
    }

    public AndonFinishSituation(String routePartName, float planFQTY, float finishFQTY, float finishRate) {
        RoutePartName = routePartName;
        PlanFQTY = planFQTY;
        FinishFQTY = finishFQTY;
        FinishRate = finishRate;
    }

    @JsonProperty("RoutePartName")
    public String getRoutePartName() {
        return RoutePartName;
    }

    public void setRoutePartName(String routePartName) {
        RoutePartName = routePartName;
    }

    @JsonProperty("PlanFQTY")
    public float getPlanFQTY() {
        return PlanFQTY;
    }

    public void setPlanFQTY(float planFQTY) {
        PlanFQTY = planFQTY;
    }

    @JsonProperty("FinishFQTY")
    public float getFinishFQTY() {
        return FinishFQTY;
    }

    public void setFinishFQTY(float finishFQTY) {
        FinishFQTY = finishFQTY;
    }

    @JsonProperty("FinishRate")
    public float getFinishRate() {
        return FinishRate;
    }

    public void setFinishRate(float finishRate) {
        FinishRate = finishRate;
    }
}
